package org.example.frw.canal.binlog.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.example.frw.canal.HashValue;

@Getter
@Setter
@ToString(callSuper = true)
public class GoodsBinlogEntity extends BaseBinlogEntity implements HashValue {
    private Long id;
    private Long categoryId;
    private String title;
    private String subTitle;
    private String mainImage;
    private String goodsType;
    private String status;
    private String salesType;

    @Override
    public String hashValue() {
        return String.valueOf(id);
    }
}
